home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
04
/
8
/
DISK0481.ZIP
/
SRF1.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-01-03
|
1KB
|
26 lines
echo off
echo Start the shell (SR); point to any file; then,
echo enter Function Key [F1] causing SRF1.BAT to be executed.
echo Up to 40 [command_server] files maybe defined per directory
echo -------------------------------------------------------------------
echo SAMPLE USER DEFINED COMMANDS - shell_state values
echo -
echo command = %0
echo shell set = %1
echo current drive = %2
echo current path = %3
echo selected file name = %4
echo selected file extension = %5
echo full path = %2:%3%4.%5
echo -------------------------------------------------------------------
echo The following is an example how to edit, with your editor, the
echo current selected or tagged file from within the shell.
echo -
echo myeditor %2:%3%4.%5 - or - myeditor %4.%5
echo -------------------------------------------------------------------
echo Other examples of batch [command_server] files used with the shell:
echo -
echo %4.%5 (execute the selected or tagged file)
echo copy %4.%5 lpt1: (print the selected or tagged file)
echo arc a myarc.arc %4.%5 (archive the selected or tagged file)
echo on